package com.millstein.tsinglog.model.dto.user;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class UserAssignRoleDTO {

    @NotNull
    @Length(max = 15)
    private String username;
    @NotNull
    private Long roleId;
}
